﻿using MediatR;
using Traceability.ErrorCode;

namespace Traceability.API.Applications.Command.TracebackCommand
{
    public class TracebackUpdateCommand:IRequest<APIResult<int>>
    {
        public int Id { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string SName { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string Batch { get; set; }

        /// <summary>
        /// 保质期（天)
        /// </summary>
        public int Expiration_date { get; set; }

        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string Production_License { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string Manufacturing_Enterprises { get; set; }

        public int CreateUserId { get; set; }

        /// <summary>
        /// 图片封面
        /// </summary>
        public string Url { get; set; } = string.Empty;

    }
}
